use "$path\datasets\child_care_shortages_states.dta", clear

separate u6_betreung_shortage, by(code == "BAY")


graph bar  u6_betreung_shortage0 u6_betreung_shortage1 , over(code, label(angle(45)) sort(u6_betreung_shortage)) ytitle(Share of parents / between 3 and 6 years)  note("Source:  DJI-Kinderbetreuungsreport 2018") blabel(total,format(%9.0f)) bargap(0)  bar(1 ,color(navy)) ylabel(0(5)35)  legend(off) ylab(,angle(horizontal))  nofill

graph export FigureA4/figureA4b.pdf, replace


